<?php

namespace app\api\controller\kuyou\applet;

use app\api\model\kuyou\applet\Customertype as Customertypes;
class Customerlevel extends Common
{
    /**
     * 获取客户等级列表
     * @ApiMethod (POST)
     */
    public function index()
    {
        if ($this->request->isPost()) {
            $result = Customertypes::getLevel();
            $this->success('查询成功',$result,200);
        }else{
            $this->error('请求方式错误','',250);
        }
    }
}
